<?php

/*
 *
|--------------------------------------------------------------------------
| test Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/

$app->get('user/{id}', function ($id) {
    return 'User '.$id;
});
$app->get('/openApi', function () use ($app) {
    return 'openApi';
});

$app->get('/openTest','openApi\TestController@index');
$app->get('/para','openApi\test@para');
$app->get('/serviceTest','ServiceTestController@index');
$app->get('/curl','CurlTestController@index');

